#include "head.h"

int sonProcMain(int local_socket){

    while(1){

        int net_fd;
        localNetFdRecv(&net_fd, local_socket);
        printf("son: net_fd: %d \n", net_fd);

        send(net_fd, "hello", 5, 0);
        // sleep(1);
        //printf("i am son: %d \n", getpid());


        close(net_fd);
    }
    return 0;
}
